﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.MesProject.WareHouse.Domain
{
    /// <summary>
    /// 备注
    /// </summary>
    [SugarTable("WareHouse.ProcessManagModel")]
    public class ProcessManagModel:BaseEntity
    {
        /// <summary>
        /// 工序编码
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "工序编码")]
        public string PMId { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        [SugarColumn(ColumnDescription = "工序名称")]
        public string PMName { get; set; }

        /// <summary>
        /// 工序分类编码
        /// </summary>
        [SugarColumn(ColumnDescription = "工序分类编码")]
        public string PCId { get; set; }

        /// <summary>
        /// 负责人编码
        /// </summary>
        [SugarColumn(ColumnDescription = "负责人编码")]
        public string EmpId { get; set; }

        /// <summary>
        /// 所属部门编码
        /// </summary>
        [SugarColumn(ColumnDescription = "所属部门编码")]
        public string DepId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDescription = "备注", IsNullable =true)]
        public string? Memo { get; set; }

    }
}
